import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';
@Entity('t_plugin_website')
export class PluginWebsiteEntity extends BaseEntity {
  @Index()
  @Column({  comment: '网站名称',type: 'varchar', length: 100, nullable: false })
  website_name: string;

  @Column({  comment: '网站地址', type: 'varchar', length: 255, nullable: false })
  website_url: string;

  @Column({  comment: '网站图标', type: 'varchar', length: 255, nullable: true })
  website_icon?: string;

  @Column({  comment: '网站描述', type: 'varchar', length: 255, nullable: true })
  website_desc?: string;

  @Column({    comment: '网站状态，1 = 启用，0 = 禁用',default:1,type: 'tinyint',
  })
  is_active: number;
}
